package docoffice.gui;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.GridLayout;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;

public class PatientGraphPanel extends JPanel {
	
	private JLabel title, label;
	
	public PatientGraphPanel() {
		
		title = new JLabel("Graph");
		
		ImageIcon image = new ImageIcon("PatientGraph.jpg");
		label = new JLabel(image);
		
		setLayout(new GridLayout(3, 2, 15, 10));
		add(title);
		add(label);
		
		setPreferredSize(new Dimension(500, 130));
		setBackground(Color.WHITE);
	
	}

}
